<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>装备信息</title>
    <style>
        body {
            font-family: "Arial", sans-serif;
            background: linear-gradient(to right, #667eea, #764ba2);
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }

        .container {
            max-width: 800px;
            width: 100%;
            margin: 20px;
            background-color: rgba(255, 255, 255, 0.8);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            overflow: hidden;
            animation: fadeIn 0.5s ease;
        }

        h2 {
            background: linear-gradient(to right, #667eea, #764ba2);
            color: white;
            padding: 20px;
            margin: 0;
            border-top-left-radius: 8px;
            border-top-right-radius: 8px;
        }

        table {
            width: 100%;
            border-collapse: collapse;
        }

        th,
        td {
            text-align: left;
            padding: 15px;
            border-bottom: 1px solid #dddddd;
            transition: background-color 0.3s ease;
        }

        th {
            background-color: #f2f2f2;
            color: #333;
            font-weight: normal;
        }

        tr:hover {
            background-color: #f1f1f1;
        }

        .title-row {
            background: linear-gradient(to right, #667eea, #764ba2);
            color: white;
        }

        .title-row th {
            border: none;
            padding: 20px;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes slideIn {
            from {
                transform: translateY(-50px);
                opacity: 0;
            }

            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        @keyframes scaleIn {
            from {
                transform: scale(0.9);
                opacity: 0;
            }

            to {
                transform: scale(1);
                opacity: 1;
            }
        }
    </style>
</head>

<body>
    <div class="container">
        <h2>装备信息</h2>
        <table>
            <tr class="title-row">
                <th>种类</th>
                <th>名称</th>
                <th>攻击加成</th>
                <th>防御加成</th>
                <th>生命加成</th>
                <th>货币</th>
            </tr>
            <tr>
                <td>{{equipment.武器?.class|| "无"}}</td>
                <td>{{equipment.武器?.name|| "无"}}</td>
                <td>{{equipment.武器?.攻击加成|| "无"}}</td>
                <td>{{equipment.武器?.防御加成|| "无"}}</td>
                <td>{{equipment.武器?.生命加成|| "无"}}</td>
                <td>
                    下级灵石:{{equipment.武器?.货币.下级灵石||
                    0}},中级灵石:{{equipment.武器?.货币.中级灵石||
                    0}},高级灵石:{{equipment.武器?.货币.高级灵石||
                    0}},极品灵石:{{equipment.武器?.货币.极品灵石|| 0}}
                </td>
            </tr>
            <tr>
                <td>{{equipment.胸甲?.class|| "无"}}</td>
                <td>{{equipment.胸甲?.name|| "无"}}</td>
                <td>{{equipment.胸甲?.攻击加成|| "无"}}</td>
                <td>{{equipment.胸甲?.防御加成|| "无"}}</td>
                <td>{{equipment.胸甲?.生命加成|| "无"}}</td>
                <td>下级灵石:{{equipment.胸甲?.货币.下级灵石|| 0}},中级灵石:{{equipment.胸甲?.货币.中级灵石|| 0}},高级灵石:{{equipment.胸甲?.货币.高级灵石||
                    0}},极品灵石:{{equipment.胸甲?.货币.极品灵石|| 0}}</td>
            </tr>
            <tr>
                <td>{{equipment.腿甲?.class|| "无"}}</td>
                <td>{{equipment.腿甲?.name|| "无"}}</td>
                <td>{{equipment.腿甲?.攻击加成|| "无"}}</td>
                <td>{{equipment.腿甲?.防御加成|| "无"}}</td>
                <td>{{equipment.腿甲?.生命加成|| "无"}}</td>
                <td>下级灵石:{{equipment.腿甲?.货币.下级灵石|| 0}},中级灵石:{{equipment.腿甲?.货币.中级灵石|| 0}},高级灵石:{{equipment.腿甲?.货币.高级灵石||
                    0}},极品灵石:{{equipment.腿甲?.货币.极品灵石|| 0}}</td>
            </tr>
            <tr>
                <td>{{equipment.法宝?.class|| "无"}}</td>
                <td>{{equipment.法宝?.name|| "无"}}</td>
                <td>{{equipment.法宝?.攻击加成|| "无"}}</td>
                <td>{{equipment.法宝?.防御加成|| "无"}}</td>
                <td>{{equipment.法宝?.生命加成|| "无"}}</td>
                <td>下级灵石:{{equipment.法宝?.货币.下级灵石|| 0}},中级灵石:{{equipment.法宝?.货币.中级灵石|| 0}},高级灵石:{{equipment.法宝?.货币.高级灵石||
                    0}},极品灵石:{{equipment.法宝?.货币.极品灵石|| 0}}</td>
            </tr>
        </table>
    </div>
</body>

</html>